﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000265 RID: 613
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueNousDiceSurfaceUnlockNotify : IMessage<ChessRogueNousDiceSurfaceUnlockNotify>, IMessage, IEquatable<ChessRogueNousDiceSurfaceUnlockNotify>, IDeepCloneable<ChessRogueNousDiceSurfaceUnlockNotify>, IBufferMessage
	{
		// Token: 0x17000817 RID: 2071
		// (get) Token: 0x06001B9F RID: 7071 RVA: 0x0004FA1D File Offset: 0x0004DC1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueNousDiceSurfaceUnlockNotify> Parser
		{
			get
			{
				return ChessRogueNousDiceSurfaceUnlockNotify._parser;
			}
		}

		// Token: 0x17000818 RID: 2072
		// (get) Token: 0x06001BA0 RID: 7072 RVA: 0x0004FA24 File Offset: 0x0004DC24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueNousDiceSurfaceUnlockNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000819 RID: 2073
		// (get) Token: 0x06001BA1 RID: 7073 RVA: 0x0004FA36 File Offset: 0x0004DC36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueNousDiceSurfaceUnlockNotify.Descriptor;
			}
		}

		// Token: 0x06001BA2 RID: 7074 RVA: 0x0004FA3D File Offset: 0x0004DC3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousDiceSurfaceUnlockNotify()
		{
		}

		// Token: 0x06001BA3 RID: 7075 RVA: 0x0004FA45 File Offset: 0x0004DC45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousDiceSurfaceUnlockNotify(ChessRogueNousDiceSurfaceUnlockNotify other) : this()
		{
			this.bNOCLDEDCAI_ = other.bNOCLDEDCAI_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001BA4 RID: 7076 RVA: 0x0004FA6A File Offset: 0x0004DC6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousDiceSurfaceUnlockNotify Clone()
		{
			return new ChessRogueNousDiceSurfaceUnlockNotify(this);
		}

		// Token: 0x1700081A RID: 2074
		// (get) Token: 0x06001BA5 RID: 7077 RVA: 0x0004FA72 File Offset: 0x0004DC72
		// (set) Token: 0x06001BA6 RID: 7078 RVA: 0x0004FA7A File Offset: 0x0004DC7A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BNOCLDEDCAI
		{
			get
			{
				return this.bNOCLDEDCAI_;
			}
			set
			{
				this.bNOCLDEDCAI_ = value;
			}
		}

		// Token: 0x06001BA7 RID: 7079 RVA: 0x0004FA83 File Offset: 0x0004DC83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueNousDiceSurfaceUnlockNotify);
		}

		// Token: 0x06001BA8 RID: 7080 RVA: 0x0004FA91 File Offset: 0x0004DC91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueNousDiceSurfaceUnlockNotify other)
		{
			return other != null && (other == this || (this.BNOCLDEDCAI == other.BNOCLDEDCAI && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001BA9 RID: 7081 RVA: 0x0004FAC0 File Offset: 0x0004DCC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BNOCLDEDCAI != 0U)
			{
				num ^= this.BNOCLDEDCAI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001BAA RID: 7082 RVA: 0x0004FAFF File Offset: 0x0004DCFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001BAB RID: 7083 RVA: 0x0004FB07 File Offset: 0x0004DD07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001BAC RID: 7084 RVA: 0x0004FB10 File Offset: 0x0004DD10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BNOCLDEDCAI != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.BNOCLDEDCAI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001BAD RID: 7085 RVA: 0x0004FB44 File Offset: 0x0004DD44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BNOCLDEDCAI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BNOCLDEDCAI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001BAE RID: 7086 RVA: 0x0004FB82 File Offset: 0x0004DD82
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueNousDiceSurfaceUnlockNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BNOCLDEDCAI != 0U)
			{
				this.BNOCLDEDCAI = other.BNOCLDEDCAI;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001BAF RID: 7087 RVA: 0x0004FBB3 File Offset: 0x0004DDB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001BB0 RID: 7088 RVA: 0x0004FBBC File Offset: 0x0004DDBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.BNOCLDEDCAI = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000B92 RID: 2962
		private static readonly MessageParser<ChessRogueNousDiceSurfaceUnlockNotify> _parser = new MessageParser<ChessRogueNousDiceSurfaceUnlockNotify>(() => new ChessRogueNousDiceSurfaceUnlockNotify());

		// Token: 0x04000B93 RID: 2963
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000B94 RID: 2964
		public const int BNOCLDEDCAIFieldNumber = 2;

		// Token: 0x04000B95 RID: 2965
		private uint bNOCLDEDCAI_;
	}
}
